package org.training.person.mason.common;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
/**
 * The Entity Manager Factory used to provide emf instance.
 * @author Mason
 *
 */
public class EMF {
	private static final EntityManagerFactory emf = Persistence
			.createEntityManagerFactory("transactions-optional");

	private EMF() {
		super();
	}

	private static EntityManagerFactory getEmf() {
		return emf;
	}
}
